//
//  AlarmReplyVC.swift
//  SBSafetyApp
//
//  Created by Lina on 2023/4/23.
//

import Foundation
import UIKit

class AlarmReplyVC: SubLevelViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        title = "相关报警回复"
        view.backgroundColor = .bg
        setupUI()
    }

    func setupUI() {
        let iv = UIImageView()
        iv.image = UIImage(named: "ic_empty")
        iv.contentMode = .scaleAspectFit
        view.addSubview(iv)
        iv.snp.makeConstraints { make in
            make.width.equalTo(100)
            make.height.equalTo(100)
            make.centerY.equalTo(view.snp.centerY).offset(-50)
            make.centerX.equalTo(view.snp.centerX)
        }
        
        let titleL = UILabel()
        titleL.text = "暂无内容"
        titleL.textColor = .hex("#A2A2A2")
        titleL.font = UIFont.systemFont(ofSize: 17)
        titleL.textAlignment = .center
        titleL.numberOfLines = 0
        view.addSubview(titleL)
        titleL.snp.makeConstraints { make in
            make.left.equalTo(view.snp.left)
            make.right.equalTo(view.snp.right)
            make.top.equalTo(iv.snp.bottom).offset(20)
        }
    }

}

